package gemini.castor.ui.client.page.footer;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.uibinder.client.UiTemplate;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.Panel;
import com.google.gwt.user.client.ui.Widget;


public class FooterView extends Composite implements FooterPresenter.Display {

	@UiTemplate("FooterView.ui.xml")
	interface MyUiBinder extends UiBinder<Panel, FooterView> {
	}

	private static final MyUiBinder binder = GWT.create(MyUiBinder.class);

	public FooterView() {
		initWidget(binder.createAndBindUi(this));
	}

	@UiField
	HTML htmPath;

	@UiField
	HTML htmBigTitle;

	@UiField
	HTML htmTitle;

	@UiField
	HTML htmInformation;

	@UiField
	HTML htmVersion;

	@Override
	public Widget asWidget() {
		return this;
	}
	
	@Override
	public void setUsername(String username) {
		htmInformation.setHTML("<h2>Hello " + username + "!</h2>");
	}

	@Override
	public void loadData() {
		// TODO Auto-generated method stub
		
	}
}
